package com.macro.mall.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.pojo.CollectionTypeParam;

public interface SysCollectionTypeService {


    /***
     * 查询当前采集分类
     * @param id
     * @return
     */
    CommonResult getCollectionType(String id);


    /***
     * 条件分页查询采集分类
     * @param param
     * @return
     */
    CommonResult getList(CollectionTypeParam param);


    /****
     * 编辑采集分类
     * @param param
     * @return
     */
    CommonResult edit(CollectionTypeParam param);


    /***
     * 根据id删除采集分类
     * @param id
     * @return
     */
    CommonResult delete(String id);
}
